﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QuanLyThuNgan
{
    public class HoanTienCTL
    {
        HoanTienDAO data = new HoanTienDAO();
        public DataSet m_LoadBenhnhanHoanTien(HoanTienDTO _info)
        {
            return data.m_SelectBenhNhanHoanTien(_info);
        }
        //insert hoan tien master--------------------------
        public object m_InsertHoanTienMst(HoanTienDTO _info)
        {
            return data.m_Insert(_info);
        }

        //insert hoan tien detail-------------------------
        public bool m_InsertHoanTienDtl(HoanTienDTO _info)
        {
            return data.m_InsertDtl(_info);
        }

        //update nhan benh chi tiet-----------------------
        public bool m_UpdateNhanBenhCT(HoanTienDTO _info)
        {
            return data.m_UpdateNhanBenhCT(_info);
        }
        //select ca lam viec------------------------------------
        public DataTable m_SelectHoanTienCaLV(HoanTienDTO _info)
        {
            return data.m_SelectHoanTienCaLamViec(_info);
        }

        //select hoan tien bafee-----------------------------
        public DataSet m_LoadHoanTienBafee(HoanTienDTO _info)
        {
            return data.m_SelectHoanTienBafee(_info);
        }
    }
}
